<html>
<head>
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>打印印花外发订单</title>
    <style media="print">
        .noprint {
            display: none
        }
    </style>
    <style type="text/css">
        <!--
        body {
            margin-top: 0px;
        }
        div{
            font-family:Arial;
            display: inline-block;
        }
        .STYLE5 {
            font-size: 12px;
            font-weight:600;
            font-family:Arial;
        }
        .STYLE6 {
            font-size: 15px;
            font-weight:800;
            font-family:Arial;
        }
        table{table-layout : fixed ;}
        -->
    </style>
</head>
<body>
{{foreach from=$prints item=li key=key}}
    {{foreach from=$li item=res key=key}}
<table width="100%" height="100%" border="1" align="center" cellspacing="0" cellpadding="0"
       style="word-break: break-all;break-all;position:relative;border: 1px solid; height: 125mm; width: 165mm;">
    <tr height="15mm">
        <td width="220mm"></td>
        <td></td>
        <td></td>
    </tr>
    <tr style="height: 5mm">
        <td colspan="3">
            <!--
            <font size="4pt">订单编号：</font>&nbsp;&nbsp;
            -->
            &nbsp;&nbsp;
            <font size="4pt">工厂：{{$res.factory}}</font>&nbsp;&nbsp;
            <font size="4pt">
                创建人：{{$res.create_user}}
            </font>&nbsp;&nbsp;
            <font size="4pt">工期：{{$res.projecttime}}天 </font>
        </td>
    </tr>
    <tr  valign="top" style="border-right: #000000 1px;width: 136">
        <td valign="middle" rowspan="10" align="center">
            <img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=8&text={{$res.id}}&thickness=30&checksum=1&code=BCGcode128" style="margin-left: -2px;width: 40mm;height:12mm;margin-top: -50px"/>
            <img src="http://192.168.1.66/{{$res.local_url}}" style="width: 50mm;height:80mm"  />
        </td>
        <td style="height: 10mm"><font size="4pt">开始日期：<br/>{{$res.createtime}}</font></td>
        <td style="height: 10mm"><font size="4pt">完成日期：<br/></font></td>
    </tr>
    <tr >
        <td colspan="2">
            <font size="4pt">
                序号：{{$res.id}}
            </font><br/>
            <font size="4pt">
                商品编号:{{$res.goods_code}}&nbsp;
            </font><br/>
            <font size="4pt">
                商品名称：{{$res.goods_name}}
            </font>
        </td>
    </tr>
    <tr >
        <td colspan="2">
            <font size="4pt">
                印花数量：{{$res.print_stock}}&nbsp;
                印花价格: {{$res.print_price}}
            </font><br/>
            <font size="4pt">
                绣花数量：{{$res.embroider_stock}}&nbsp;
                绣花价格: {{$res.embroider_price}}
            </font>
        </td>
    </tr>
    <tr style="height: 35mm;">
        <td colspan="2"><font size="4pt">备注:{{$res.memo}}</font></td>
    </tr>
</table>
    {{/foreach}}
{{/foreach}}
</body>
</html>
